﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class UDisk:Disk,IUSB
    {
        public override void info()
        {
            Console.WriteLine("{0}",this.Brand);
        }
        public void Read()
        {
            Console.WriteLine("U盘正在读取中...");
        }
        public void Write()
        {
            Console.WriteLine("U盘正在写入中...");
        }
        public UDisk() { }
        public UDisk(string brand):base(brand)
        { 
            
        }
    }
}
